package com.avcdata.aoscustommade.view;

import com.avcdata.aoscustommade.bean.TopBrandAndSelfBrandBean;

import org.json.JSONObject;

/**
 * 主页的view层
 * Created by zyh on 17/6/7.
 */

public interface MainActivityView {
    //获取品牌排行
    void loadBrandListSuccess(TopBrandAndSelfBrandBean bean);
    void loadBrandFailure();
    void loadBrandFailure(Throwable throwable);

    //全国走势图
    void loadNationThrendSuccess(JSONObject jsonobject);
    void loadNationThrendFailure();
    void loadNationThrendFailure(Throwable throwable);

    //行业销售额同环比
    void loadIndustrySalesSuccess(JSONObject jsonObject);
    void loadIndustrySalesFailure();
    void loadIndustrySalesFailure(Throwable throwable);

    //行业市占饼图
    void loadPiePictureSuccess(JSONObject object);
    void loadPiePictureFailure();
    void loadPiePictureFailure(Throwable throwable);
}
